home *** CD-ROM | disk | FTP | other *** search
- # Example host file for CUTCP/CUTE 2.2D and 2.2TN REV -D
- # 11/12/90
- #
- # Bugs to cutcp-bugs@omnigate.clarkson.edu
-
- #---------------------------------------------------------------------------#
- # #
- #** ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION **#
- # #
- # This sample config.tel file contains every single option that you could #
- # possibly use. Its meant as an example only. Please Please PLEASE don't #
- # use all these options in your working config.tel file, just the ones #
- # that you actually need. Many options can be left out, the default action#
- # (if defined) is shown in parens () next to the option. #
- # #
- # Thank you for your support #
- #---------------------------------------------------------------------------#
-
- #
- # This example file is for my=bootp, in which case the following items are
- # determined from the bootp server: (and are thus commented out in this file)
- # 1. This machine's IP Address
- # 2. The network NETMASK
- # 3. The default gateway (one or more)
- # 4. Nameservers (one or more)
- # 5. The domain search list (if this clients hostname is in the bootp packet)
- #
- # Your BOOTP server needs to be RFC 1048 compliant for this to work
- #
- # If you have nameservers, gateways or a domainslist already specified
- # in this file, then the file's entry takes precedence.
- # Extra gateways and nameservers will be added by BOOTP if found, however.
- #----------------------------------------------------------------------------
- # You can set a DOS environment variable CONFIGTEL to point to this file
- # then you don't need batch files or the -h option.
- #
- # C> set CONFIGTEL=C:\net\myconfig.tel
- #
- # You may also use environment variables to include config.tel options,
- # such as:
- # C> set $CUTCP1=myip~197.001.42.98;netmask~255.255.252.0
- # C> set $CUTCP2=name~x;hostip~128.163.298.2
- #
- # and so on up to $CUTCP99. Note that you use a tilde (~) instead of (=)
- # in the dos set command because two ='s are not allowed by Dos.
- #
- # Additionally, there is a new config.tel option called include= which
- # allows the nesting (up to 3) configuration files deep.
- #
- # A new command line option (-e) allows you to include configuration info
- # on the command line.. like
- #
- # telbin -e "myip=197.001.42.98;netmask=255.255.252.0"
- #
- # Your default config.tel file will be read first, then $CUTCPnn variables,
- # and finally the -e option if you specify one.
- #
- # You can use these new options on networks to make your configuration job
- # easier. CUTCP always opens config.tel files as read-only, so you can mark
- # your files as sharable, read only. Also, you can use the include= command
- # in a $CUTCP environment variable, and on the command line.
-
- # *Note* that you can not include a machine specific parameter before
- # name=default... This used to work in old versions, but is strictly
- # enforced in this version.
- # --------------------------------------------------------------------------
- # This file is free form
- # Separators are any char <33 and :;=
- #
- # The form is keyword=value for each parameter.
- # The first set of parameters refer to the whole program's defaults.
- # These parameter values can be in any order.
- # Following this are the individual machine specs.
- #
-
- myip=bootp # (bootp)
- # myip types are:
- # bootp - sends out a BOOTP request for your IP
- # rarp - Uses reverse ARp to get your IP
- # xx.yy.zz.qq - your IP address
-
- vjc=no # (no)
- # set vjc=yes if you're running slip and
- # you want to use Van Jacobson TCP header
- # compression
-
- splayc=no # (no) ack. splay compression w/ vjc.. don't
- # use it, not standard, development option only
-
- clock=24 # sets the onscreen clock (24)
- # possibilities are
- # clock=[none] | 12 | 24 [:timezone]
- # examples:
- # clock=none
- # clock=12 # 12 hour
- # clock=24 # also default if not specified
- # clock=12:EST5DST # required for MSC version unless
- # environmant var TZ= is defined
- #
-
- # Sounds. You can configure the four basic sounds that telnet makes
- # format is sound=<which one>:duration,frequency:duration,frequency etc
- # to produce no sound at all, use :0,0, to pause, use 0 for frequency.
- # units are sorta ticks for duration (but unfortunately its clock speed
- # dependent). Frequency units are in hertz. Frequency < 21 makes no sound
-
- sound=bell:4,1200 # internal defaults shown in this file.
- sound=badkey:6,1500:6,700
- sound=ftp:6,600:6,0:6,2400
- sound=margin:17,2000
-
- myname=userid # put your userid here, used for Rlogin
- # PC-NFS version ignores this value and uses the name
- # that you specified to your pcnfsd.
-
- netmask=255.255.252.0 # needed if not using BOOTP.
- # otherwise not needed because Bootp gets your netmask
- # for you
-
- hardware=packet # (packet)
- # harware choices
- # 3com - 3com 3c501
- # 3c523 - 3com 3c523
- # wd800 - Western Digitial 800E
- # nicpc -
- # nicps -
- # ni5210 - Micom Interlan NI5210 card
- # packet - FTP packet Driver spec
- # (currently only Ethernet and Slip class devices are supported)
-
- interrupt=2 # hardware IRQ interrupt
- address=0 # (0)
- # base memory address or packet driver class
- # if using packet driver (0 == default == ethernet)
- # or class=6 for slip
-
- ioaddr=0 # (0)
- # I/O address or packet int vector if using packet driver
- # If = 0 and packet driver, telbin looks for first
- # packet driver found between 60H and 7FH
-
- noarpme=yes # Don't arp for myself before running? (no)
- # if yes, inhibits the initial arp request
- # for this IP address. However, if yes, won't
- # warn you if another user is using this IP
- # address. For some token ring systems, you'll
- # need noarpme=yes.
-
- video=auto # video choices (auto)
- # auto - automatically determines video type
- # cga
- # ega
- # vga
- # hercules
- # pga
- # no9
-
- visbell=yes # visual bell on? (no)
- # visual bell reverse entire screen for bells
- # in the current session, or reverses just the
- # status line for bells in other sessions
-
- bios=no # Send text to screen memory or use bios (no)
- # choices
- # Yes -> uses bios
- # no -> goes direct to screen
- # maybe -> uses bios for the current screen, but
- # uses direct video for screen swaps, etc.
- # meant for use by screen readers for the
- # visually impaired.
- # If you have a snowy CGA, use bios=yes
-
- tek=yes # (yes)
- # yes to enable Tektronix emulation,
- # otherwise No
-
- ftp=yes # (yes)
- # yes to allow incoming FTP sessions, no otherwise
-
- rcp=no # (no)
- # Remote Copy, yes if you want to allow it
- # otherwise No.
-
- passfile="nul" # ("nul")
- # name of file to find FTP passwords in
- # if passfile="nul" you can only ftp into
- # your machine if you use the internal FTP
- # password, generated by pressing ALT-W
- # if passfile points to a file that does not
- # exist, you will not be able to ftp in to
- # your PC at all, even ALT-W will NOT work.
- # if you don't specify passfile at all in this
- # file, then anyone can ftp to your machine
- # without a password (not recommended).
-
- include="nul" # if you want to include another file as part
- # of this one (you can nest up to three includes)
- # otherwise, don't use this option
-
- capfile="capfile.out,b" # default name for capture file
- # optional binary or text mode (default is text)
- # ie: capfile="freddy.txt,t" for text mode
- # or capfile="mrbinary.bin,b" for binary
- # text mode causes an automatic append of
- # <CR> after <NL>, otherwise binary mode does
- # not do this.
-
- hpfile=hp.out # file to write HPGL to,
- # COM1 can be used for attached plotter
- psfile=ps.out # file to write postscript to
- tekfile=tek.out # file to write Tek codes to
-
- domaintime=4 # domain name lookup timeout (first retry)
- domainretry=4 # domain name max number of retries
- domainslist="clarkson.edu,aux.clarkson.edu" # domain name search path
- # domain name lookup will attach each of these
- # comma seperated suffixes to
- # the end of the name you are looking for to
- # discover the full name and IP address.
- # so, looking for x tries x.clarkson.edu and x.aux.clarkson.edu then just x
- # unless you use x. which ONLY looks for x
-
- ## Also, the fewer suffixes in the domainslist
- ## the less time you will have to wait if you mis-type an entry.
- ## Finally, try not to use a suffix like . or .edu or .com this will
- ## waste a lot of time looking for a bogus host name if you mis-type an entry.
-
- ### Entries for tn3270 use ###
- #map3270="c:\cutcp\map3270.tbl" # you don't need this for version 2.2D
- # and if don't want to change the default
- # TN3270 keymaps then you don't need it either
- # however, if you do want to change the
- # default 3270 keymaps, create a key map file
- # (see tn3270.tbl) for defaults, and point
- # this parm to the file.
-
- # NOTE: The format for the map3270 file has
- # changed between versions TC-A and TC-B
-
- tnmode=auto # tn3270 connection mode (auto)
- # choices are
- # auto - (default)
- # flagged, notflagged, off
- # see the manual (best to just use auto)
- # also see machine specific flags variable
-
- ## ----------------------------------------------------------------- ##
- ## BEGIN MACHINE SPECIFIC PARAMETERS... ##
- ## ----------------------------------------------------------------- ##
-
- name=default # default entry sets defaults for all following
- # machines.
-
- vtmargin=yes # margin bell on? (no)
- # chirps the bell at column 72
-
- erase=delete # (delete)
- # use delete code or backspace code for <- key?
- # legal values are "delete" and "backspace"
-
- clearsave=yes # save visible lines in scrollback when
- # clearing screen
- scrollback=50 # number of lines of scrollback per session
- # you can use less memory if you set this value
- # small.
-
- # following are screen colors in a session
- # you can also place them after a host declaration
- # below, to set the color on a host by host basis
- # a foreground color that is capitalized
- # sets the bold bit, if a background color
- # is capitalized it sets the blink bit.
-
- nfcolor=white # normal foreground color
- nbcolor=blue # normal background color
- rfcolor=YELLOW # reverse foreground color
- rbcolor=blue # reverse background color
- ufcolor=red # underline foreground color
- ubcolor=blue # underline background color
- # possible colors are:
- # black,green,blue,magenta,cyan, red,yellow,white
- # and (case signifigant)
- # BLACK, GREEN,BLUE,MAGENTA,CYAN, RED,YELLOW,WHITE
-
- arptime=10 # arp timeout in seconds
- #
-
- retrans=1 # starting retransmit time out in ticks
- # 1/18ths of sec MAX 100, min 1
-
- mtu=1024 # maximum transmit unit in bytes
- # outgoing packet size, MAX=1500
-
- maxseg=1024 # largest segment we can receive
- # whatever the hardware can take, MAX=4096
- rwin=2048 # most bytes we can receive without ACK
- # =TCP window size, MAX=4096
-
- contime=20 # timeout in seconds to try connection
- # before returning error to user
-
- flags=0 # OR the following values for override
- # flags.. be careful. Flags are not
- # copied from default, you must explicitly
- # declare the flag values for each machine
- # if desired. Flag values are in hex.!
- #
- # 8 - send transparent data to capture file
- # instead of tek screen
- # 10 - always go into 3270 mode regardless of
- # tnmode
- # 18 - do both of the above
- # 400 - don't do binary mode when asked
- # ie: flags=408 means, no binary and send trans
- # data to capture file instead of tek screen.
- # NOTE: DO NOT USE ANY OTHER VALUES THAN THOSE
- # SHOWN ABOVE!
-
- keymap="keymap.tbl" # Point this value to your personal keymap file
- # for VT100 mode (if desired). See (default.tbl)
- # for an example of the built in keymaps.
- # any key pressed follows the following precidents
- # 1. Check keymap entry for this machine.
- # 2. Else check keymap entry for name=default
- # 3. Finally, use built in table.
-
- # for 3270 mode, map3270= points to the default
- # 3270 table (if desired) for use in step 2 above.
-
- # Following are individual machine specifications
- # Gateways are used in order that they appear in the file
- # Nameservers rotate, #1, #2, #3, #1, #2 when a request fails
- #
-
- # ********************************************************************* ###
- # Note: If you are using BOOTP above for myip=, then you do not need
- # to enter a default gateway, nameserver, netmask etc (unless you want to)
- # only IF your BOOTP server is rfc_1048 compliant. (Ask your Net Manager)
- # You can use both bootp and entries here, in which case the entries in
- # this file over-ride what BOOTP discovers. (however, bootp nameservers
- # and gateways are ADDED to this file's list of entries
- # ********************************************************************* ####
-
- #name=omnigate # Not a real machine, default parameters only
- #host=omnigate.clarkson.edu # Actual host name of machine, not session name
- #hostip=197.001.4.2 # IP address of host, example is for SRI-NIC
- #nameserver=1 # This machine has a DOMAIN name server for me
- #gateway=1 # This machine is a gateway for me
- #crmap=4.3BSDCRNUL # map of the CR key for compatibility
- #duplex=half # modifier for non-echo mode, forces send
- # larger isn't always better
-
- # Below this line, most of the communication parameters are obtained
- # from the "default" host entry. Those parameters listed for a host
- # override the default host values.
- #
- # These are examples, replace them with the correct values for your site.
- #name=mynameserver
- #host=omnigate.clarkson.edu
- #hostip=197.001.4.2
- #nameserver=1
-
- #name=backupserver
- #host=clutx.clarkson.edu
- #hostip=197.001.4.3
- #nameserver=2
-
- #name=lastserver
- #host=n2ngw.nyser.net
- #hostip=128.145.198.2
- #nameserver=3
-
- #name=mygateway
- #host=nysernet.clarkson.edu
- #hostip=197.001.4.1
- #gateway=1
-
- # Sample MVS SYSTEM (MVS systems don't negotiate term type correctly)
- #name=mvs
- #hostname=mvs.mvs.com
- #hostip=xx.yy.zz.dd
- #flags=10 # always use 3270 mode regardless of tnmode
-
- # You can now specify the destination port in the config.tel file
- #name=chargen # opens a connection to chargen
- #host="mychargen.host.edu:19" # notice ':portnum' in name!!
-
-
- # built in throughput measurement window...
- # you can change a window to a throughput measurement screen which
- # reports KB/sec. Best if used w/ ttcp, but you can use it w/ chargen.
- # (ttcp pumps out faster)
- # You can either open a connection, then use ALT-P and change the
- # terminal type to 'throughput', or set vtwrap=t as shown below
-
- #name=throughput
- #host="mychargen.host.edu:19" # automatically open a port to chargen
- #vtwrap=t # vtwrap is either
- # =Y # yes, do VTwrap
- # =N # nope, don't do it (default)
- # =T # do throughput measurement
-
-
- # rlogin mode....
- # You can specify a host name that is always to use rlogin (even when
- # using ALT-A, by using port 513
-
- name=myrlogin
- hostip=197.001.4.2
- host="myrlogin.com:513"
-
-
- # keymaps..
- name=mykeymap
- hostip=197.001.4.5
- keymap="C:\cutcp\mykeymap.tbl"
-
- # no binary mode example
- name=myterminalserver
- hostip=128.134.27.2
- flags=400
-
-
- name=script_dir
- host="C:\scripts\" # here's how you specify a script directory
-
- name=test
- host="@sample2.scr" # here's how you attach a script to a name.
-
- # ----- LPR utilities Information ----- #
- #
- #
- name=lpr_printer
- host="erc-laser" # here's how you specify the default
- # printer name for the lpr utilities
-
- name=lpr_server
- host=omnigate # here's how you specify the default
- # server for the lpr utilities.
-
-